package com.yingsheng.bi.hks.dto.job;

import com.yingsheng.bi.hks.dto.HksTransReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
/**
 * 宠物溜养工单填写
 */
@ApiModel(value = "宠物溜养工单填写")
@EqualsAndHashCode(callSuper = true)
@Data
public class PetWalkAddReq extends HksTransReq {

    //主表
    @ApiModelProperty(value = "联系人",required = true)
    @NotBlank
    private String name;

    @ApiModelProperty(value = "联系方式",required = true)
    @NotBlank
    private String phone;

    @ApiModelProperty(value = "门店ID")
    private String storesId;

    //子表
    @ApiModelProperty(value = "宠物品种",required = true)
    @NotBlank
    private String petBreed;

    @ApiModelProperty(value = "宠物颜色",required = true,notes = "M男F女")
    @NotBlank
    private String petColor;

    @ApiModelProperty(value = "服务期限",required = true)
    @NotBlank
    private String serviceTimeLimit;

    @ApiModelProperty(value = "服务时间开始")
    private String serviceTimeBeg;

    @ApiModelProperty(value = "服务时间结束")
    private String serviceTimeEnd;

    @ApiModelProperty(value = "服务区域（到小区）",required = true)
    @NotBlank
    private String workPlaceParticular;

    @ApiModelProperty(value = "其他要求",required = true)
    @NotBlank
    private String remark;
}
